import request from '@/utils/request'

// 短信预警列表
export function ShortMessageWarningList(query) {
  return request({
    url: '/md/optWarn/list',
    method: 'get',
    params: query
  })
}

// 短信预警处理
export function changeShortMessageWarning(data) {
  return request({
    url: '/md/optWarn',
    method: 'put',
    data: data
  })
}